package com.deruan.hotcore.base.common.service;

import java.util.Collection;
import java.util.List;

import com.deruan.hotcore.base.common.bean.RelationBean;
import com.deruan.hotcore.common.exception.AccessDeniedException;

public interface RelationService extends EntityService<RelationBean, Integer>
{
	List getRelationListByUserId(Integer userId) throws AccessDeniedException;

	void updateRelationList(Collection<RelationBean> list) throws AccessDeniedException;
}
